#!/usr/bin/env ruby
# frozen_string_literal: true

require "benchmark/ips"

url = "https://www.bridgetownrb.com"
urla = [url]

Benchmark.ips do |x|
  x.report("+=") { url += "/" }
  x.report("<<") { url << "/" }
  x.report("ary <<") { urla << "/" }
  x.compare!
end
